{"version":3,"sources":["ui.progressround.js"],"names":["BX","namespace","UI","ProgressRound","options","this","type","isPlainObject","bar","container","status","statusPercent","statusCounter","textBefore","textBeforeContainer","textAfter","textAfterContainer","maxValue","value","width","lineSize","statusType","Status","NONE","color","Color","PRIMARY","setValue","setWidth","setLineSize","setMaxValue","setStatusType","setColor","setTextBefore","setTextAfter","setFill","fill","COUNTER","PERCENT","INCIRCLE","INCIRCLECOUNTER","DANGER","SUCCESS","WARNING","prototype","getValue","isNumber","getWidth","getLineSize","getMaxValue","isNotEmptyString","removeClass","getContainer","addClass","createTextBefore","text","create","props","className","html","getTextBefore","adjust","createTextAfter","getTextAfter","getStatus","getStatusType","getStatusCounter","getStatusPercent","Math","round","setStatus","getCircleFerence","getCircleProgress","getBar","factRadius","svg","document","createElementNS","setAttributeNS","progressBg","appendChild","progressMove","animateProgressBar","progressDashoffset","update","children"],"mappings":"CAAA,WAEC,aAEAA,GAAGC,UAAU,uBAEbD,GAAGE,GAAGC,cAAgB,SAASC,GAE9BC,KAAKD,QAAUJ,GAAGM,KAAKC,cAAcH,GAAWA,KAEhDC,KAAKG,IAAM,KACXH,KAAKI,UAAY,KACjBJ,KAAKK,OAAS,KACdL,KAAKM,cAAgB,KACrBN,KAAKO,cAAgB,QACrBP,KAAKQ,WAAa,KAClBR,KAAKS,oBAAsB,KAC3BT,KAAKU,UAAY,KACjBV,KAAKW,mBAAqB,KAC1BX,KAAKY,SAAW,IAChBZ,KAAKa,MAAQ,EACbb,KAAKc,MAAQ,IACbd,KAAKe,SAAW,EAChBf,KAAKgB,WAAarB,GAAGE,GAAGC,cAAcmB,OAAOC,KAC7ClB,KAAKmB,MAAQxB,GAAGE,GAAGC,cAAcsB,MAAMC,QAEvCrB,KAAKsB,SAASvB,EAAQc,OACtBb,KAAKuB,SAASxB,EAAQe,OACtBd,KAAKwB,YAAYzB,EAAQgB,UACzBf,KAAKyB,YAAY1B,EAAQa,UACzBZ,KAAK0B,cAAc3B,EAAQiB,YAC3BhB,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